package ms.jasim.framework.test;

import java.io.File;
import java.io.IOException;
import java.util.Scanner;

public class ExtractTime {
	public static void main(String[] args) throws IOException {
		String filename = args[0];
		Scanner scanner = new Scanner(new File(filename));
		while (scanner.hasNextLine()) {
			String line = scanner.nextLine();
			if (line.startsWith("Time")) {
				System.out.printf("%s:%s\r\n", filename, line.substring(5));
				break;
			}
		}
		scanner.close();
	}
}
